package com.itheima.admin.service;

import com.itheima.PageVo;
import com.itheima.admin.dto.PageDto;
import com.itheima.admin.dto.UserDto;
import com.itheima.admin.dto.UserRoleDto;
import com.itheima.admin.vo.UserPageVo;
import com.itheima.admin.vo.UserVo;

public interface IUserService {
    UserVo queryById(String id);

    boolean deleteById(String id);

    PageVo<UserPageVo> queryByPage(PageDto pageDto);
    boolean insertUser(UserDto userDto);
    boolean updateUser(UserDto userDto);
    Boolean addUserRole(UserRoleDto userRoleDto);
}
